package mybag5;

public class Test {
    public static void main(String[] args) {
        Runnable r1=new Myrunnable();
        Runnable r2=new Myrunnable();
        Runnable r3=new Myrunnable();
        Runnable r4=new Myrunnable();
        Runnable r5=new Myrunnable();
        Thread t1=new Thread(r1,"一号窗口");
        Thread t2=new Thread(r2,"二号窗口");
        Thread t3=new Thread(r3,"三号窗口");
        Thread t4=new Thread(r4,"四号窗口");
        Thread t5=new Thread(r5,"五号窗口");
        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }
}
